package com.permission.model;

import java.util.List;

public class User {
    private Long id;
    private String loginname;
    private String name;
    private String email;
    private Integer status;
    private String mobilephone;
    private List<Role> roles;

    // getter和setter方法
    public Long getId() { return id; }
    public void setId(Long id) { this.id = id; }
    public String getLoginname() { return loginname; }
    public void setLoginname(String loginname) { this.loginname = loginname; }
    public String getName() { return name; }
    public void setName(String name) { this.name = name; }
    public String getEmail() { return email; }
    public void setEmail(String email) { this.email = email; }
    public Integer getStatus() { return status; }
    public void setStatus(Integer status) { this.status = status; }
    public String getMobilephone() { return mobilephone; }
    public void setMobilephone(String mobilephone) { this.mobilephone = mobilephone; }
    public List<Role> getRoles() { return roles; }
    public void setRoles(List<Role> roles) { this.roles = roles; }
}
